Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(checkout): check out correct fork/branch during PR CI run #1173

Merged
merged 1 commit into from
Oct 26, 2022

Conversation

andrewazores
Copy link
Member

@andrewazores andrewazores commented Oct 26, 2022

Related to #1118
Related to #1133

Previous PR to change the trigger event to pull_request_target changes the runner context to the base repo's. This means the checkout action in various CI steps is actually just checking out the upstream main branch, rather than the PR branch. This update corrects the checkout action to check out the PR branch for PRs, or leave it as the defaults after final push. This is what we talked about on an earlier call and is what we thought the new PR flow would actually be doing.

@mergify mergify bot added the safe-to-test label Oct 26, 2022
@andrewazores andrewazores force-pushed the pr-ci-checkout-branch branch 2 times, most recently from 950f88a to 298e19a Compare October 26, 2022 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant